Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
How to change "arm64-apple-darwin20.0.0" to "localhost" in reactjs

I need Help with npm start.

four months ago I have a react app that worked fine and the local server was "localhost". I don’t know what happened with my app localhost became arm64-apple-darwin20.0.0, but now when I launch this app I get this:

Compiled successfully!

You can now view kok-app in the browser.

  http://arm64-apple-darwin20.0.0:3000

Note that the development build is not optimized.
To create a production build, use npm run build.
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Can you clarify what tool you used to create the app?

The following answer relates just to the change of the port. If it's the entire endpoint, I'm afraid I'll need more information (also, what would be the expected output - Is it localhost?).

If you used the toolchain/environment called create-react-app, then you can create a file called .env in the project root and then put this line in there (amongst possible other env-vars):

PORT=4000

And change the port to the one you want to use. Then deploy the development server again.

Note, according to the documentation:

Note: this feature is available with react-scripts@0.5.0 and higher.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!